package com.chinacoal.hr.levelapi.client.fallback;

import com.chinacoal.hr.levelapi.client.AttdanceSummaryClient;
import com.chinacoal.hr.levelapi.client.response.Result;
import com.chinacoal.hr.levelapi.client.response.ResultCode;
import com.chinacoal.hr.levelapi.client.response.ResultGenerator;
import com.chinacoal.hr.levelapi.entity.SummaryCalcVO;

/**
 * Created by jinyabin on 2020/10/29.
 */
public class AttdanceSummanyClientFallback implements AttdanceSummaryClient {

    @Override
    public Result list(Long page, Long limit, String orgCode, String deptId, String deptName, String yearmonth, String empCode) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }

    @Override
    public Result calc(SummaryCalcVO calcVO) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }
}
